<%--
  Date: April 2, 2010
  Time: 11:41:47 AM
  To change this template use File | Settings | File Templates.
--%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <title>UH Dorm Energy Competition: My Activities</title
  <yui:stylesheet dir="reset-fonts-grids" file="reset-fonts-grids.css"/>
  <link rel="stylesheet" href="${resource(dir: 'css', file: 'main.css')}"/>
  <gui:resources components="['menu', 'tabView']"/>
  <modalbox:modalIncludes/>
</head>
<body class="yui-skin-sam">
<div id="doc4" class="yui-t7">
  <div id="hd" role="banner"><h2><img class="uhlogo" src="/uhdormenergy/images/uhdormlogo.gif"/> UH Dorm Energy Competition</h2></div>

  <gui:menubar id='myInnerMenubar3' renderTo='innerMenu3'>
    <gui:menuitem url='/uhdormenergy/home'>Home</gui:menuitem>
    <gui:menuitem url='/uhdormenergy/resources'>Resources</gui:menuitem>
    <gui:menuitem url='/uhdormenergy/energyData'>Energy Data</gui:menuitem>
    <gui:menuitem url='/uhdormenergy/kukuiCup'>Kukui Cup</gui:menuitem>
    <gui:menuitem url='/uhdormenergy/about'>About</gui:menuitem>
    <gui:menuitem url="/uhdormenergy/myPage">My Page</gui:menuitem>
  </gui:menubar>
  <gui:menubar id='myInnerMenubar4' renderTo='innerMenu4'>
    <gui:menuitem url='/uhdormenergy/myPage/myActivities'>Manage Activities</gui:menuitem>
    <gui:menuitem url='/uhdormenergy/myPage/myCommitments'>Manage Commitments</gui:menuitem>
    <gui:menuitem url='/uhdormenergy/myPage/myGoals'>Manage Goals</gui:menuitem>
    <gui:menuitem url='/uhdormenergy/myPage/myEnergy'>My Energy Usage</gui:menuitem>
  </gui:menubar>
  <br>
  <div id="bd" role="main">
    <div class="yui-g">

  <g:if test="${flash.message}">
    <div class="message">${flash.message}</div>
  </g:if>
      <!-- YOUR DATA GOES HERE -->

      <gui:tabView>
        <gui:tab label="Selected Activities" active="true" controller="myPage" action="selectedActivities"></gui:tab>
        <gui:tab label="Available Activities" controller="myPage" action="availActivities"></gui:tab>
        <gui:tab label="Submitted Activities" controller="myPage" action="submittedActivities"></gui:tab>
        <gui:tab label="Awarded Activities" controller="myPage" action="awardedActivities"></gui:tab>
        <gui:tab label="Declined Activities" controller="myPage" action="declinedActivities"></gui:tab>
      </gui:tabView>
    </div>

  </div>
  <div id="ft" role="contentinfo"></div>
</div>
</body>
</html>